package com.hdoit.ares.logical.acti.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.hdoit.ares.logical.acti.dao.IActiRewardDao;
import com.hdoit.ares.logical.acti.model.ActiReward;
import com.hdoit.ares.logical.acti.service.IActiRewardService;
/**
 * @author      caochengmeng
 * @email       
 * @createtime  2018年03月10日 19:58:51
 * @comment
 */
@Component
public class ActiRewardServiceImpl extends SuperService<ActiReward> implements IActiRewardService{

	private IActiRewardDao actiRewardDao;
	public IActiRewardDao getActiRewardDao() {
		return actiRewardDao;
	}
	@Resource
	public void setActiRewardDao(IActiRewardDao actiRewardDao) {
		this.actiRewardDao = actiRewardDao;
	}


	@Override
	public List<ActiReward> queryList(String actiId) {
		return actiRewardDao.queryList(actiId);
	}
	@Override
	public ActiReward queryModelByCustId(String custId) {
		return actiRewardDao.queryModelByCustId(custId);
	}
	@Override
	public String querySumReward(String actiId) {
		return actiRewardDao.querySumReward(actiId);
	}
	

}